<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<%@ include file="/commons/head.jsp" %>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <%@ include file="/commons/left.jsp" %>
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                咨询回复列表
            </h1>
            <section class="content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="box">
                            <div class="box-header">
                                <form  name="searchForm" id="searchForm" action="${ctx}/consult/listConsultationReply" method="get">
                                    <input type="hidden" id="pageNum" name="pageNum" value="1" />
                                    <input type="hidden" id="length" name="length" value="10" />
                                    <%--&lt;%&ndash; <div class="input_box">
                                         <label  style=" float: left; height: 34px; line-height: 34px;">父类名称：</label>
                                         <div class="input"  style="float: left;" class="form-control">
                                             <select name="parentNodes" class="form-control">
                                                 <option value="" <c:if test="${query.parentNodes==''}">selected="selected"</c:if>>全部</option>
                                                 <c:forEach var="item" items="${allArticleCategory}" varStatus="vs">
                                                     <option value="${item.id}" <c:if test='${ query.parentNodes==item.id}'>selected='selected'</c:if>>${item.categoryName}</option>
                                                 </c:forEach>
                                             </select>
                                         </div>
                                     </div>&ndash;%&gt;
                                     <div class="input_btn" style=" float: left;">
                                         <input type="submit" class="btn btn-default" value="查询">
                                     </div>--%>
                                </form>
                            </div>
                            <div class="box-body">
                                <table id="example2" class="table table-bordered table-hover">
                                    <thead>
                                    <tr>
                                        <th>咨询投诉编号</th>
                                        <th>回答人</th>
                                        <th>回复内容</th>
                                        <th>创建时间</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <c:if test="${page.maxRow > 0}">
                                        <c:forEach var="item" items="${listConsultationReply}" varStatus="vs">
                                            <tr>
                                                <td>${item.caseId}</td>
                                                <td>${item.replyId}</td>
                                                <td>${item.replyContent}</td>
                                                <td>${item.createTime}</td>

                                            </tr>
                                        </c:forEach>
                                    </c:if>
                                    </tbody>
                                </table>
                                <div>
                                    <jsp:include page="/commons/pagination.jsp"/>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
        </section>

    </div>
    <%@ include file="/commons/script.jsp" %>
</body>
</html>



